#ifndef FOREST_H
#define FOREST_H

#include "linklist.hpp"
#include "tree.h"
#include <qstring.h>

class Forest : public Tree {
public:
    Forest();
    Forest(QString str);

    QString ToParenthesisString() const; // 将森林转换为括号串
};

#endif // FOREST_H
